/*
 * MyJoinedAskHolder.java
 * business
 *
 * Created by SunDing on 2016/9/29.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yidiandao.business.R;
import com.yidiandao.business.ui.widget.listview.ViewHolder;

/** 我参与的求购 */
public class MyJoinedAskHolder extends ViewHolder {
    public ImageView mIvLogo;
    public TextView mTvTime;
    public TextView mTvName;
    public TextView mTvBrand;
    public TextView mTvNum;
    public TextView mTvAddress;
    public TextView mTvDesc;
    public ImageView mIvStatus;
    public LinearLayout mLlConnectionInfo;
    public TextView mTvPhone;
    public TextView mTvConnect;
    public TextView mTvGetAddress;

    @Override
    protected void initView(View rootView) {

        mIvLogo = (ImageView) rootView.findViewById(R.id.iv_logo);
        mTvTime = (TextView) rootView.findViewById(R.id.tv_time);
        mTvName = (TextView) rootView.findViewById(R.id.tv_name);
        mTvBrand = (TextView) rootView.findViewById(R.id.tv_brand);
        mTvNum = (TextView) rootView.findViewById(R.id.tv_num);
        mTvAddress = (TextView) rootView.findViewById(R.id.tv_address);
        mTvDesc = (TextView) rootView.findViewById(R.id.tv_desc);
        mIvStatus = (ImageView) rootView.findViewById(R.id.iv_status);
        mLlConnectionInfo = (LinearLayout) rootView.findViewById(R.id.ll_connection_info);
        mTvPhone = (TextView) rootView.findViewById(R.id.tv_phone);
        mTvConnect = (TextView) rootView.findViewById(R.id.tv_connect);
        mTvGetAddress = (TextView) rootView.findViewById(R.id.tv_get_address);
    }

    @Override
    protected int getItemLayoutId() {
        return R.layout.item_ask_joined;
    }
}
